package com.wanmait.hr.service.Impl;

import com.wanmait.hr.mapper.MemuMapper;
import com.wanmait.hr.service.MemuService;
import com.wanmait.hr.vo.Memu;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("MemuService")
/**
 * Demo class
 *
 * @author chen
 * @date 2019/1/22
 */
public class MemuServiceImpl implements MemuService{
    @Resource
    private MemuMapper memuMapper;

    @Override
    public List<Memu> findAll() { return memuMapper.findAll(); }

    @Override
    public List<Memu> findBigType() {
        return memuMapper.findBigType();
    }

    @Override
    public List<Memu> findSmallType() {return memuMapper.findBigType(); }

    @Override
    public List<Memu> findDisabled() {return memuMapper.findDisabled(); }

    @Override
    public void updateBigTypeName(Memu object) { memuMapper.updateBigTypeName(object); }

    @Override
    public void updateBigTypeSort(Memu memu) { memuMapper.updataBigTypeSort(memu); }

    @Override
    public void updateBigTypeUrl(Memu memu) { memuMapper.updateBigTypeUrl(memu); }

    @Override
    public void deleteChecked(Integer id) {memuMapper.deleteChecked(id); }

    @Override
    public void disableList(Integer id) {memuMapper.disableList(id); }

    @Override
    public List<Memu> findAll(Memu object) {
        return null;
    }

    @Override
    public Memu findById(Integer id) {
        return null;
    }

    @Override
    public void insert(Memu object) {

    }

    @Override
    public void update(Memu object) {

    }

    @Override
    public void delete(int id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public int getDataCount() {
        return 0;
    }

    @Override
    public int getDataCount(Memu object) {
        return 0;
    }
}
